﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Harvest.API.Model
{

    /// <summary>
    /// 
    /// </summary>
    /// <remarks>
    /// The Time tracking API allows you to access and manipulate time entries in similar 
    /// fashion to using the daily timesheet view. This allows developers to create lightweight 
    /// clients or widgets to track time beyond directly interacting with Harvest through the 
    /// web browser.
    /// </remarks>
    public class TimeEntry
    {

//        <daily>
//  <for_day type="date">Wed, 18 Oct 2006</for_day>
//  <day_entries>
//    <day_entry>
//      <id type="integer">195168</id>
//      <client>Iridesco</client>
//      <project>Harvest</project>
//      <task>Backend Programming</task>
//      <!-- Includes running timer if any -->
//      <hours type="float">2.06</hours>
//      <notes>Test api support</notes>
//      <!-- OPTIONAL returned only if a timer is running -->
//      <timer_started_at type="datetime">
//        Wed, 18 Oct 2006 09:53:06 -0000
//      </timer_started_at>
//      <created_at type="datetime">Wed, 18 Oct 2006 09:53:06 -0000</created_at>
//    </day_entry>
//    <day_entry>
//      ...
//    </day_entry>
//  </day_entries>
//  <!-- These are the project-task combinations that can be added to
//  the timesheet. Not present in readonly timesheets or for users
//  without assigned projects. -->
//  <projects>
//    <project>
//      <name>Click and Type</name>
//      <code></code>
//      <id type="integer">3</id>
//      <client>AFS</client>
//      <tasks>
//        <task>
//          <name>Security support</name>
//          <id type="integer">14</id>
//          <billable type="boolean">true</billable>
//        </task>
//        <task>
//          ...
//        </task>
//      </tasks>
//    </project>
//    <project>
//      ...
//    </project>
//  </projects>
//</daily>


    }

}
